﻿@model IEnumerable<VehicleManagement.Models.Approval>
@{
    ViewBag.Title = "CheckPathMap";
}
<script type="text/javascript">
    $(function () {
        $("#SearchPathMap").click(function () {
            window.open("/Approval/PathMapDetail/" + $("#ApprovalIDForSearch").val());
        });
    });
</script>
<h2>CheckPathMap</h2>

<input type="text" id="ApprovalIDForSearch" />
<input type="button" value="查找路线图" id="SearchPathMap" />
<br />

@foreach (var item in Model)
{
    
    <a href="/Approval/PathMapDetail/@item.ApprovalID">Approval:@item.ApprovalID</a>
    
    if (@item.PathConfirm)
    {
        <span>已审核</span>
    }
    else
    {
        <span>未审核</span>
    }
    <br />
}